<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>王者荣耀-main-news</title>
  <link rel="stylesheet" href="./css/common.css">
  <link rel="stylesheet" href="./css/reset.css">
  <style>
    .main {
      height: 100px;
    }

    .news-section {
      height: 342px;
      display: flex;
      background: url(./img/news_bg.png) no-repeat;
    }

    .news-section .banner {
      width: 605px;
    }
    
    .news-section .banner .image-list {
      display: flex;
      width: 604px;
    }

    .news-section .banner .image-list .item {
      /* flex-shrink: 0; */
      /* width: 100%; */
    }

    .news-section .banner .image-list .item a {
      /* display: block; */
    }

    .news-section .banner .image-list .item a img {
      /* width: 100%; */
    }

    .news-section .banner .title-list {
      display: flex;
      height: 44px;
      line-height: 44px;
    }

    .news-section .banner .title-list .item{
      flex: 1;
      text-align: center;
    }

    .news-section .banner .title-list .item a {
      display: block;
      font-size: 14px;
      color: #b1b2be;
    }

    .news-section .banner .title-list .item:hover a {
      color: #f3c258;
      background-color: rgba(255,255,255,.15);
    }

    .news-section .news {
      flex: 1;
      padding: 0 17px;
      overflow: hidden;
    }

    .news-section .news .title-list {
      display: flex;
      height: 48px;
      border-bottom: 1px solid #000 ;
    }

    .news-section .news .title-list .item {
      width: 52px;
    }

    .news-section .news .title-list .item a {
      display: block;
      height: 48px;
      box-sizing: border-box;
      line-height: 48px;
      border-bottom: 3px solid transparent;
      color: #b8b9c5;
      text-align: center;

      transition: border-bottom 150ms linear;
    }

    .news-section .news .title-list .item.active a,
    .news-section .news .title-list .item:not(.more) a:hover {
      color: #f3c258;
      border-bottom-color: #f3c258;
    }
    
    /* .news-section .news .title-list .item.more a:hover {
      color: #b8b9c5;
      border-bottom-color: transparent;
    } */
    
    .news-section .news .notice {
        height: 36px;
        line-height: 36px;
        padding: 0 15px;
        margin-top: 18px;
        background: #414046;
    }

    .news-section .news .notice > a {
      display: block;
      color: #f3c258;
      font-size: 18px;
      padding-right: 15px;

      text-overflow:ellipsis;
      white-space: nowrap;
      overflow: hidden;
    }

    .news-section .news .news-list .item {
      display: flex;
      align-items: center;
      margin-bottom: 11px;
    }

    .news-section .news .news-list .item .desc {
      flex: 1;
      color: #b8b9c5;
      
      white-space: nowrap;
    }

    .news-section .news .news-list .item .date {
      padding: 0 8px;
      color: #999;
      font-size: 12px;
    }

    .news-section .download {
      width: 236px;
    }
    
    .news-section .download a {
      display: block;
      background: url(./img/main_sprite.webp) no-repeat;
    }

    .news-section .download a.download-bth {
      height: 128px;
      background-position: 0 -219px;
    }

    .news-section .download a.guard-bth {
      height: 106px;
      background-position: 0 -350px;
    }

    .news-section .download a.experience-bth {
      height: 108px;
      background-position: 0 -461px;
    }
  </style>
</head>
<body>
  <div class="main main_wrapper">
    <div class="news-section">
      <div class="banner">
        <ul class="image-list">
          <li class="item">
            <a href="#">
              <img src="./img/banner1.jpeg" alt="">
            </a>
          </li>
          <!-- <li class="item">
            <a href="#">
              <img src="./img/banner2.jpeg" alt="">
            </a>
          </li>
          <li class="item">
            <a href="#">
              <img src="./img/banner3.jpeg" alt="">
            </a>
          </li>
          <li class="item">
            <a href="#">
              <img src="./img/banner4.jpeg" alt="">
            </a>
          </li>
          <li class="item">
            <a href="#">
              <img src="./img/banner5.jpeg" alt="">
            </a>
          </li> -->
        </ul>
        <ul class="title-list">
          <li class="item">
            <a href="#">云梦区域站上线</a>
          </li>
          <li class="item">
            <a href="#">朵莉亚连招</a>
          </li>
          <li class="item">
            <a href="#">云中君英雄动画</a>
          </li>
          <li class="item">
            <a href="#">女子赛主题曲</a>
          </li>
          <li class="item">
            <a href="#">王者萌萌假日</a>
          </li>
        </ul>
      </div>
      <div class="news">
          <ul class="title-list">
            <li class="item active">
              <a href="#">热门</a>
            </li>
            <li class="item">
              <a href="#">新闻</a>
            </li>
            <li class="item">
              <a href="#">公告</a>
            </li>
            <li class="item">
              <a href="#">活动</a>
            </li>
            <li class="item">
              <a href="#">赛事</a>
            </li>
            <li class="item more">
              <a href="">...</a>
            </li>
          </ul>
          <p class="notice">
            <a href="#">源梦皮肤设计大赛创意赏析第二期</a>
          </p>
          <ul class="news-list">
            <li class="item">
              <a class="desc nowrap_ellipsis news_type news_type_hot" href="#">
                源梦皮肤设计大赛投稿Q&A【创意赏析第一期】
              </a>
              <span class="date">04/19</span>
            </li>
          </ul>
      </div>
      <div class="download">
        <a class="download-bth" href="#"></a>
        <a class="guard-bth" href="#"></a>
        <a class="experience-bth" href="#"></a>
      </div>
    </div>
  </div>
</body>
</html>